<ion-view view-title="Aufträge anzeigen">
    <ion-tabs ng-controller="auftragAnzeigenCtrl" class="tabs-striped tabs-background-positive tabs-color-light">
        <ion-tab title="Home" icon-on="ion-ios-list" icon-off="ion-ios-list-outline">
            <ion-view view-title="Aufträge anzeigen">
                <ion-content>
                    <ion-refresher pulling-text="Pull to refresh..." on-refresh="refreshAuftragAnzeigen()" refreshing-text="Fetching ..." pulling-icon="ion-arrow-down-c" refreshing-icon="ion-loading-a">
                    </ion-refresher>
                    <div class="row" id="header">
                        <div class="col col_heading">Entf.</div>
                        <div class="col col_heading">Start</div>
                        <div class="col col_heading">Strecke</div>
                        <div class="col col_heading">Preis</div>
                        <div class="col col_heading">Endzeit</div>
                    </div>
                    <div id="rows">
                    </div>
                </ion-content>
                <!--
<div class="tabs-striped tabs-color-positive">
    <div class="tabs">
      <a class="tab-item active" >
        <i class="icon ion-ios-list"></i>
        Test
      </a>
      <a class="tab-item" >
        <i class="icon ion-map"></i>
        Favorites
      </a>
      <a class="tab-item" >
        <i class="icon ion-gear-a"></i>
        Settings
      </a>
    </div>
  </div>-->
            </ion-view>
        </ion-tab>
        <ion-tab title="About" icon-on="ion-map" icon-off="ion-map" on-select="initMap()" ng-controller="auftragAnzeigenCtrl">
            <ion-view view-title="Aufträge anzeigen">
                <ion-content>
                    <div class="clearfix_small"></div>
                    <div class="clearfix_small"></div>
                    <ion-refresher pulling-text="Pull to refresh..." on-refresh="refreshAuftragAnzeigenMap()" refreshing-text="Fetching ..." pulling-icon="ion-arrow-down-c" refreshing-icon="ion-loading-a">
                    </ion-refresher>
                    <div id="map-canvas2" data-tap-disabled="true"></div>
                </ion-content>
            </ion-view>
        </ion-tab>
        <ion-tab title="Settings" icon-on="ion-ios-gear" icon-off="ion-ios-gear-outline" ng-click="openModal()">
        </ion-tab>
    </ion-tabs>
    <!--<ion-footer-bar align-title="left" class="bar-light">
    <button on-tap="openModal()" class="button button-clear icon ion-gear-a" type="submit" ng-controller="auftragAnzeigenCtrl">Filtern</button>
</ion-footer-bar>-->
    <script id="contact-modal.html" type="text/ng-template">
        <div class="modal">
            <ion-header-bar>
                <a class="button icon-left ion-chevron-left button-clear button-dark" ng-click="modal.hide()">Back</a>
                <h1 class="title">Filter</h1>
            </ion-header-bar>
            <ion-content>
                <div class="list">
                    <label class="item item-input">
                        <span class="input-label">Radius: {{data.levelvalue + "Km"}}</span>
                        <div class="range">
                            <a class="icon ion-ios-minus-outline"></a>
                            <input id="levelrange" type="range" step="5" min="0" max="50" ng-model="data.levelvalue" ng-change="setLevelText()">
                            <a class="icon ion-ios-plus-outline"></a>
                        </div>
                    </label>
                    <ion-checkbox ng-model="emailNotification" ng-true-value="'Subscribed'" ng-false-value="'Unubscribed'" on-tap="changeMyThings()">
                        GPS verwenden <a class="icon ion-navigate" />
                    </ion-checkbox>
                    <label class="item item-input">
                        <span class="input-label">Stadt</span>
                        <input name="inputStadt" id="inputStadt" ng-disabled="data.disableFileds" type="text">
                    </label>
                    <label class="item item-input">
                        <span class="input-label">Straße</span>
                        <input name="inputStrasse" id="inputStrasse" ng-disabled="data.disableFileds" type="text">
                    </label>
                </div>
                <button class="button button-positive button-block" ng-click="filter()">Filtern</button>
            </ion-content>
        </div>
    </script>
